Make xoauth2 auth fail when a smtp server replies 334 (Bug#78366)
authorXiyue Deng <manphiz@gmail.com>
Fri, 16 May 2025 09:48:52 +0000 (02:48 -0700)
committerRobert Pluim <rpluim@gmail.com>
Tue, 3 Jun 2025 12:44:59 +0000 (14:44 +0200)
commit41f8dc18dfdb003dbcd27f619960f2533a02fde2
tree8ac055a75ce286ece1263636ef17cbc6ea6a7b18
parentcd57a05542bd9cc5b9866d2b6b15d5125cf9e40e
Make xoauth2 auth fail when a smtp server replies 334 (Bug#78366)

* lisp/mail/smtpmail.el (smtpmail-try-auth-method): Throw error 535
when receiving a "334 server challenge" reply.

(cherry picked from commit 53371c959462a677a29ee869b3b6627facf3ed79)
lisp/mail/smtpmail.el